#pragma once 
#include "ECS/ECS.h"
#include "ECS/Patterns/Nullable.h"

class ComponentADef
{
	mtMETA_DEC;
public:
	ECS::Nullable<int> field1;
	ECS::Nullable<float> field2;
};

class ComponentA : public ECS::Component
{
	mtMETA_DEC;
public:
	bool initWith(ComponentADef* def);

	int field1;
	float field2;
};